import instance from "../utils/request";
//验证码的接口
export function getcaptcha(){
    return instance ({
        url:'/captcha/api/math',
        method:'get'
        
    })
} 

//定义登录的接口
export function loginApi(data){
    return instance ({
        url:'/api/common/auth/login',
        method:'post',
        data,
    }) 
} 